@charset "UTF-8";
*{
    padding: 0px; margin: 0px; list-style: none; text-decoration: none;
}
.clear{
    clear: both;
}
//顶部的导航栏
.nav-contain{
    padding: 20px 0 20px 0;
    height: 40px;
    margin-bottom: -0px;
    z-index: 10000;
    background: #fff;
    position: fixed;
    width: 100%;
    min-width: 1200px;
    left: 0;
    top: 0;
    -moz-box-shadow: 0 2px 8px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: 0 2px 8px 0 rgba(0,0,0,.2);
    box-shadow: 0 2px 8px 0 rgba(0,0,0,.2);
    -webkit-box-pack: center;
    position: fixed;
    width: 100%;
    .logo{
        float: left; margin-top: -25px; margin-left: -200px;
        a{
            display: inline-block;
        }
        img{
           height: 60px; width:160px;
        }
    }
    .menu{
        height: 20px;margin-top: 10px;margin-left: 320px;transition: margin-left 0.5s linear;
        &.left{
            margin-left:120px;transition:margin-left 0.1s linear;
            .logo{
                margin-left: -115px;
            }
        }
        ul{
            list-style: none; margin-left: 60px;
            a:last-child{
                li{
                    span{
                        border: none; 
                    }
                }
            }
            li{
                float: left; color: #333;  cursor: pointer; height: 80px; line-height: 80px; margin-top: -30px;
                span{
                    display: inline; border-right: 1px dashed #ccc; padding: 0px 10px; font: 400 15px 'Lato',sans-serif;
                }
            }
        }
    }
    //未登录
    .login-regist{
        height: 20px; position: absolute; right: 0px; top: 28px; display: none;
        form{
            display: inline-block;
            input{
                height: 26px; font-size: 14px; width: 126px;  outline: none; border: 1px solid #a9a9a9; padding: 0px 2px; vertical-align: middle;
                &:hover{
                    border: 1px solid #6799eb;
                }
                &.login{
                    background: #555; color: #fff; height: 28px; cursor: pointer; border: none; width: 60px;
                    &:hover{
                        background: #dddddd;
                    }
                }
            }
        }
        
        &.active{
            display: block;
        }
        a:hover{
            span{
                &.regist{
                    background: #dddddd;
                }
            }
        }
        span{
            display: inline-block; padding: 5px 14px; cursor: pointer;  font-size: 14px; vertical-align: bottom;
            &.regist{
                 color: #fff;
            }
            &.testPlay{
                color: #555;
            }
        }
    }
    //登录完成
    .login-finish{
        position: absolute; right: 30px; top: 15px; display: none;
        &.active{
            display: block;
        }
        .user-fun{
            display: inline-block;
            li{
                display: inline-block; text-align: center; cursor: pointer; margin-right: 10px;
                span{
                    &.icon{
                        display: block; width: 38px; height: 30px;
                    }
                    &.icon-1{
                        background: url("../images/header/icon_1.png") no-repeat; background-size: 90%; background-position-x: 2px;
                    }
                    &.icon-2{
                        background: url("../images/header/icon_2.png") no-repeat;background-size: 90%; background-position-x: 2px;
                    }
                    &.icon-3{
                        background: url("../images/header/icon_3.png") no-repeat;background-size: 90%; background-position-x: 2px;
                    }
                    &.icon-4{
                        background: url("../images/header/icon_4.png") no-repeat;background-size: 90%; background-position-x: 2px;
                    }
                    &.active{
                        color: #dc3836;
                    }
                    font: 400 15px 'Lato',sans-serif; display: inline-block; color: #333;
                }
            }
        }
        .user-info{
            display: inline-block;
            .login-out{
                display: inline-block; cursor: pointer; margin-left: 10px;
                span{
                    &.icon-login-out{
                        display: block; width: 38px; height: 30px; background: url("../images/header/login_out.png") no-repeat; background-size: 70%;
                    }
                    font: 400 15px 'Lato',sans-serif; display: inline-block; color:#333;
                }
            }
        }
        #avatar-img{
            width: 48px; height: 48px; display: inline-block; background: url("../images/header/show_avatar.jpg"); background-size: 100%; cursor: pointer;
            &.a-img-0{
                background-position: 0px 0px;
            }
            &.a-img-1{
                background-position: 0px 10%;
            }
            &.a-img-2{
                background-position: 0px 20%;
            }
            &.a-img-3{
                background-position: 0px 30%;
            }
            &.a-img-4{
                background-position: 0px 40%;
            }
            &.a-img-5{
                background-position: 0px 50%;
            }
            &.a-img-6{
                background-position: 0px 60%;
            }
            &.a-img-7{
                background-position: 0px 70%;
            }
            &.a-img-8{
                background-position: 0px 80%;
            }
            &.a-img-9{
                background-position: 0px 90%;
            }
            &.a-img-10{
                background-position: 0px 100%;
            }
        }
        .user-info-div{
            display: inline-block;vertical-align: top; margin-left: 10px; font-size: 14px; margin-top: 4px;
            a{
                text-decoration: none;
            }
            .l-f-wallet{
                padding: 10px; cursor: pointer;
            }
            > span{
                padding-right: 10px; cursor: pointer;
            }
        }
    }
    .avatar-img-contain{
        position: absolute;background: #fff;width: 930px; padding: 10px; height: 80px; border-radius: 10px; border: 1px solid #e9ecef;left: 50%; margin-left: -460px;top: 82px; display: none;
        animation: fade-in2 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
        -webkit-animation: fade-in2 0.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
        &.show{
            display: block;
        }
        .avatar-select-img{
            width: 80px; height: 80px; display: inline-block; background: url("../images/header/select_avatar.jpg"); background-size: 100%; cursor: pointer;
            &.a-s-img-0{
                background-position: 0px 0px;
            }
            &.a-s-img-1{
                background-position: 0px 10%;
            }
            &.a-s-img-2{
                background-position: 0px 20%;
            }
            &.a-s-img-3{
                background-position: 0px 30%;
            }
            &.a-s-img-4{
                background-position: 0px 40%;
            }
            &.a-s-img-5{
                background-position: 0px 50%;
            }
            &.a-s-img-6{
                background-position: 0px 60%;
            }
            &.a-s-img-7{
                background-position: 0px 70%;
            }
            &.a-s-img-8{
                background-position: 0px 80%;
            }
            &.a-s-img-9{
                background-position: 0px 90%;
            }
            &.a-s-img-10{
                background-position: 0px 100%;
            }
        }
    }
}
//底部
.footer-contain{
    background: #222; height: 400px; width: 100%; min-width: 1200px;
    .footer-c{
        width: 1200px; height: 100%; margin: 0 auto;
       >ul > li{
            width: 300px; float: left;
            .f-c-d{
                padding: 10px;
                h3{
                    color: #fff; margin: 30px 0px;
                }
                .f-c-d-one{
                    color: #828082; line-height: 50px; font-size: 14px;
                } 
                .f-c-d-two{
                    li{
                        height: 60px; line-height: 60px; text-align: left; color: #ccc; border-bottom: 1px solid #444444; cursor: pointer;
                    }
                }
                .f-c-d-three{
                    li{
                        float: left; margin-right: 10px; margin-bottom: 10px; width: 80px; height: 80px; cursor: pointer;
                        &:last-child{
                            width: 160px; height: 80px;color: #828082;
                            p{
                                margin-top: 10px;
                            }
                        }
                    }
                }
                .pz-img{
                    width: 50px; height: 50px; background: url('../images/pz_default.png') no-repeat; background-size: 100%;
                    &:hover{
                        background: url('../images/pz_active.png') no-repeat;background-size: 100%;
                    }
                }
            }
        }
    }
    .footer-c-msg{
        text-align: center; font-size: 14px; color: #828082; padding-top: 10px; clear: both;
    }
}
// 导航栏的下拉选项
.header_m_hover{ 
    height: 0px; width: 100%; background: url('../images/header/header_donw_bg.png')  repeat-x; position: absolute;top: 80px; z-index: 10000; overflow: hidden; -webkit-transition: height .6s ease-out;transition: height .6s ease-out;
}
.header_m_hover .header_m_hover_c{ 
    width: 1200px; min-width: 1200px; max-width: 1200px; margin: 0 auto; position: relative;
    a{
        text-decoration: none;
    }
    ul{position: absolute; z-index: 1; width: 100%; height: 180px;}
    >ul>li{ cursor: pointer; position: relative;}
    &.lotter{
        display: none;
        li{
            width: 33%;  display: inline-block; height: 280px; list-style: none;
            .header_m_h_img{ 
                height: 280px; text-align: center;
                .header_m_h_msg{ 
                    text-align: center; color: #3a404c; font-weight: bold;
                }
            }
        }
    }
    &.real_p{
        display: none;
        li{
            width: 25%; display: inline-block; height: 280px; position: relative;
            &.real_p_rate{
                div{ position: absolute; top: 60px;}
            }
            img{
                position: absolute; bottom: 0px; height: 280px; width: 510px; max-width: initial;
            }
        }
    }
    &.ele_play{
        display: none;
        li{
            width: 25%; display: inline-block; height: 280px; position: relative;
            &.ele_play_rate{
                div{ position: absolute; top: 60px;}
            }
            img{
                position: absolute; bottom: 0px;height: 280px; width: 510px; max-width: initial;
            }
        }
    }
    &.sport_paly{
        li{
            width: 25%; display: inline-block; height: 280px;position: relative;
            &.sport_paly_rate{
                div{ position: absolute; top: 60px;}
            }
            img{
                position: absolute; bottom: 0px;height: 280px; width: 510px; max-width: initial;
            }
        }
    }
}
//悬浮设置风格
.skin-set{
    position: fixed;
    top: 90px;
    width: 90px;
    text-align: center; cursor: pointer;
    left:-50px;
    transition: left .5s ease;-moz-transition: left .5s ease; -webkit-transition: left .5s ease; -o-transition: left .5s ease;  z-index: 1000;
    &.active{
        left:0px; 
        transition: left .5s ease;-moz-transition: left .5s ease; -webkit-transition: left .5s ease; -o-transition: left .5s ease; 
    }
    .skin-set-img{
        width: 40px;height: 40px;position: absolute; right: 0px;top: 0px;
    }
    .skin-kf-bg{
        width:38px;height:38px; position:absolute; top:40px; left:50px;  background: #fff;
        div{
            width: 40px; height: 40px; 
        }
    }
    .skin-ewm-bg{
        width:38px;height:38px; position:absolute; top:80px; left:50px;  background:#fff;
        div{
            width: 40px; height: 40px; 
        }
    }
    .skin-d{
        width: 20px; height: 20px; margin-top: 10px; -webkit-animation: fa-spin 2s infinite linear; animation: fa-spin 2s infinite linear;
    }
    .skin-color-select{
        width: 50px; height: 100px; background: #fff; padding-top: 10px;
        span{
             width: 20px; height: 20px; display: block;margin: 0px auto 10px;
        }
    }
}

//无限旋转的动画
@-webkit-keyframes fa-spin{
    0%{
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg);
    }
    100%{
        -webkit-transform:rotate(359deg);
        transform:rotate(359deg);
    }
}
@keyframes fa-spin{
    0%{
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg);
    }
    100%{
        -webkit-transform:rotate(359deg);
        transform:rotate(359deg);
    }
}
@-webkit-keyframes fade-in2 { 0% { margin-top: -50px;
    visibility: hidden;
    opacity: 0; }
  100% { margin-top: 0px;
    visibility: visible;
    opacity: 1; } }

@keyframes fade-in2 { 0% { margin-top: -50px;
    visibility: hidden;
    opacity: 0; }
  100% { margin-top: 0px;
    visibility: visible;
    opacity: 1; } }